#ifndef COMMON_H
#define COMMON_H COMMON_H

#define assert(x)

#define DISABLE_PRESCALER()  do{CLKPR = (1 << CLKPCE); CLKPR = 0x00;}while(0)

#ifndef F_CPU
#define F_CPU 8000000UL
#endif

#define DISABLE_INTERRUPTS()    asm volatile ("cli"::)
#define ENABLE_INTERRUPTS()     asm volatile ("sei"::)
#define RADIO_CHANNEL   107


#define HOVER_ADDRESS	0x2AD0
#define BASE_ADDRESS	0x2AD1

extern const unsigned short send_address;
extern const unsigned short recv_address;

#endif

